package com.zhsm.fuxi.mvp.contract

import com.hankkin.library.mvp.contract.IBaseViewContract
import com.hankkin.library.mvp.contract.IPresenterContract
import com.zhsm.fuxi.bean.UserBean

/**
 * Created by GuZhC on 2018/10/9.
 * describe:
 */
interface MyCenterContract {
    interface IView : IBaseViewContract {
        fun saveEmailSucces(it: String?)
        fun saveNickSucces(it: String?)
        fun changeHeadPicSucces(key: String)
        fun updaateUserInfoSuccess(user: UserBean?)
        fun loginOutSucess()
        fun savePhoneSucces(it: String?)
    }

    interface IPresenter : IPresenterContract {

        fun changeEmail(email: String)
        fun changePhone(phone: String)
        fun changeNick(nick: String)
        fun changeHeadPic(picPath: String)
        fun updaateUserIn()
        fun loginOut()
    }
}